<?php include '../view/heading.php'; ?>
<div id="Inhalt">
    <!-- display content -->
    <div class="warnMessage"> <?php echo $reset_message ?></div>
    <div id="stylized" class="myform">
        <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" id="login_form" class="aligned">
            <h1>Passwort Rücksetzung</h1>
            <input type="hidden" name="action" value="reset"/>
            <table>
                <tr>
                    <td><label for="nickname">Benutzername *: <span class="small"></span></label></td>
                    <td><span class="info" title="Tragen Sie Ihren Benutzername ein.">i</span><td>
                    <td><input type="text" id="nickname" name="nickname"  value="<?php if (!empty($nickname)) echo $nickname; ?>" size="50" maxlength="50"></td>
                </tr>
                <tr>
                    <td><label for="email">E-Mail Addresse *: <span class="small"></span></label></td>
                    <td><span class="info" title="Tragen Sie Ihren E-Mail Adresse ein.">i</span><td>
                    <td><input type="text" id="email" name="email"  value="<?php if (!empty($email)) echo $email; ?>" size="50" maxlength="50"></td>
                </tr>
            </table>
            <button type="submit" name="submit">Rücksetzen</button>
            <div class="spacer"></div>
        </form>
    </div>
</div>
<?php include '../view/footing.php'; ?>
            
